package com.healMyself.pojo;

import java.sql.Timestamp;

public class Record {
    private int recordId;
    private int userId;
    private String medicine;
    private int dosage;
    private Timestamp theTime;
    private String feelings;
    private String place;

    public Record() {
    }

    public Record(int recordId, int userId, String medicine, int dosage, Timestamp theTime, String feelings, String place) {
        this.recordId = recordId;
        this.userId = userId;
        this.medicine = medicine;
        this.dosage = dosage;
        this.theTime = theTime;
        this.feelings = feelings;
        this.place = place;
    }

    @Override
    public String toString() {
        return "Record{" +
                "recordid=" + recordId +
                ", userid=" + userId +
                ", medicine='" + medicine + '\'' +
                ", dosage=" + dosage +
                ", theTime=" + theTime +
                ", feelings='" + feelings + '\'' +
                ", place='" + place + '\'' +
                '}';
    }

    public int getRecordId() {
        return recordId;
    }

    public void setRecordId(int recordId) {
        this.recordId = recordId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getMedicine() {
        return medicine;
    }

    public void setMedicine(String medicine) {
        this.medicine = medicine;
    }

    public int getDosage() {
        return dosage;
    }

    public void setDosage(int dosage) {
        this.dosage = dosage;
    }

    public Timestamp getTheTime() {
        return theTime;
    }

    public void setTheTime(Timestamp theTime) {
        this.theTime = theTime;
    }

    public String getFeelings() {
        return feelings;
    }

    public void setFeelings(String feelings) {
        this.feelings = feelings;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }
}
